package database;

public class MyExpenditure extends NewTirDataBase {
	
	private String expenditureID;
	private String code;
	private String description;
	private String tax;
	private String amount;
	private String shipmentID;
	
	private static final int EXPENDITURE_ID = 0;
	private static final int CODE = 1;
	private static final int DESCRIPTION = 2;
	private static final int TAX = 3;
	private static final int AMOUNT = 4;
	private static final int SHIPMENT_ID = 5;
	
	String[] data;
	
	public MyExpenditure(){
		
	}
	
	public MyExpenditure(String[] data){
		
		super();
		this.expenditureID = data[EXPENDITURE_ID];
		this.code = data[CODE];
		this.description = data[DESCRIPTION];
		this.tax = data[TAX];
	
		this.amount = data[AMOUNT];

		this.shipmentID = data[SHIPMENT_ID];
		
	}

	public String getExpenditureID() {
		return expenditureID;
	}

	public void setExpenditureID(String expenditureID) {
		this.expenditureID = expenditureID;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getTax() {
		return tax;
	}

	public void setTax(String tax) {
		this.tax = tax;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getShipmentID() {
		return shipmentID;
	}

	public void setShipmentID(String shipmentID) {
		this.shipmentID = shipmentID;
	}
	
	
}
